<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DetailsPage.aspx.cs" Inherits="DetailsPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RecruitVietnamDbConnectionString %>"
            SelectCommand="SELECT [RecruiterID], [Email], [CompanyName], [EnglishName], [OpenDate], [ContactName], [Address], [ProvinceID], [Phone], [Fax], [LastLogin] FROM [tblRCAccounts] WHERE ([RecruiterID] = @RecruiterID)">
            <SelectParameters>
                <asp:QueryStringParameter Name="RecruiterID" QueryStringField="RecruiterID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    
    </div>
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateDeleteButton="True"
            AutoGenerateEditButton="True" AutoGenerateInsertButton="True" AutoGenerateRows="False"
            DataKeyNames="RecruiterID" DataSourceID="SqlDataSource1" Height="50px" OnItemDeleting="DetailsView1_ItemDeleting"
            OnItemInserting="DetailsView1_ItemInserting" OnItemUpdating="DetailsView1_ItemUpdating"
            Width="363px" AllowPaging="True" OnPageIndexChanging="DetailsView1_PageIndexChanging">
            <Fields>
                <asp:BoundField DataField="RecruiterID" HeaderText="RecruiterID" InsertVisible="False"
                    ReadOnly="True" SortExpression="RecruiterID" />
                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" />
                <asp:BoundField DataField="EnglishName" HeaderText="EnglishName" SortExpression="EnglishName" />
                <asp:BoundField DataField="OpenDate" HeaderText="OpenDate" SortExpression="OpenDate" />
                <asp:BoundField DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName" />
                <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
                <asp:BoundField DataField="ProvinceID" HeaderText="ProvinceID" SortExpression="ProvinceID" />
                <asp:BoundField DataField="Phone" HeaderText="Phone" SortExpression="Phone" />
                <asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" />
                <asp:BoundField DataField="LastLogin" HeaderText="LastLogin" SortExpression="LastLogin" />
            </Fields>
        </asp:DetailsView>
    </form>
</body>
</html>
